Skip to main content

Components

Orchestrator can create several different components for use in your application

Accessing connection information

When orchestrator spawns a component that needs credentials (like a database), it will create a secret config entry titled {component}-details (i.e. postgres-details)

For information on accessing config elements, see 7. Config

warning

External APIs must be accessed via components to comply with federal information processing regulations. If you need access to a public API, contact us. We can likely have a component ready within the day. inquiries@archon.inc

Possible components

warning

Only one of each component can exist per application right now. This will change in a future release!

NodeJS (nodejs)

NodeJS application.

service-account: (string) The account your application will be able to act as when running. The application will assume this account's defaultRole by default.

devCommand: (string) The command that the component will run in development mode

command: (string) The command that the component will run in production mode

port: (integer) The port your application listens on internally

Postgres (postgres)

A Postgres database. Will create a secret config entry called postgres-details with the following information

{
"POSTGRES_USER": "{{username}}",
"POSTGRES_PASSWORD": "{{password}}",
"POSTGRES_DB": "{{database name}}",
"POSTGRES_HOST": "{{database host}}",
"POSTGRES_PORT": "{{database port}}"
}

MySQL (mysql)

A MySQL database. Will create a secret config entry called mysql-details with the following information

{
"MYSQL_ROOT_PASSWORD": "{{root password}}",
"MYSQL_DATABASE": "{{database name}}",
"MYSQL_USER": "{{username}}",
"MYSQL_PASSWORD": "{{password}}",
"MYSQL_HOST": "{{database host}}",
"MYSQL_PORT": "{{database port}}"
}

MongoDB (mongo)

A MongoDB database. Will create a secret config entry called mongo-details with the following information

{
"MONGO_INITDB_ROOT_USERNAME": "{{root username}}",
"MONGO_INITDB_ROOT_PASSWORD": "{{root password}}",
"MONGO_INITDB_DATABASE": "{{database name}}",
"MONGO_HOST": "{{database host}}",
"MONGO_PORT": "{{database port}}"
}
note

Are we missing your favorite technology? Let us know! Fill out this form and we can probably have it to you within a day.